// 自动生成模板Config
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type Config struct {
      global.GVA_MODEL
      Key  string `json:"key" form:"key" gorm:"column:key;comment:关键词;type:varchar(255);"`
      Name  string `json:"name" form:"name" gorm:"column:name;comment:名称;type:varchar(255);"`
      Type  int `json:"type" form:"type" gorm:"column:type;comment:类型;type:smallint;"`
      Value  string `json:"value" form:"value" gorm:"column:value;comment:值;type:text;"`
}


func (Config) TableName() string {
  return "config"
}

